package ca.swank.hardquor;

public class hardquorGameRequest
{
  private int gameNumber;
  private int playerNumber;
  private String opponent;

  public hardquorGameRequest(int playerNumber, String opponent, int gameNumber)
  { this.gameNumber = gameNumber;
    this.playerNumber = playerNumber;
    this.opponent = opponent;
  }

  public hardquorGameRequest(int playerNumber, String opponent)
  { this.playerNumber = playerNumber;
    this.opponent = opponent;
    this.gameNumber = -1;
  }


  public int getPlayerNumber()
  { return playerNumber;
  }

  public String getOpponent()
  { return opponent;
  }

  public int getGameNumber()
  { return gameNumber;
  }

  public String toString()
  { return opponent + " " + playerNumber;
  }

}